package com.open.data.component.data

import androidx.room.ColumnInfo
import androidx.room.Entity

import androidx.room.PrimaryKey


/**************************************************************
 *
 *
 *
 *
 * @author :guangjing.feng.o
 * @createTime: 2021/6/3.
 * @modifyTime:
 * @modifyAuthor:
 * @description:
 *
 ************************************************************/
@Entity
class Word {
    @PrimaryKey(autoGenerate = true)
    private var id = 0

    @ColumnInfo(name = "english")
    private var english: String? = null

    @ColumnInfo(name = "chinese")
    private var mean: String? = null

    constructor(english: String?, mean: String?) {
        this.english = english
        this.mean = mean
    }

}